<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/3/11
 * Time: 17:12
 */
define('__ROOT_PATH__','../');

require __ROOT_PATH__.'vendor/autoload.php';
include 'common.php';

spl_autoload_register(function ($class_name) {
    if (is_file(__ROOT_PATH__.$class_name . '.php')) {
        include __ROOT_PATH__ . $class_name . '.php';
    }else{
        spl_autoload($class_name);
    }
},true);
